package org.socialresume.client.model;

import java.io.Serializable;

public class TwitterFeed extends Feed implements Serializable{
	
	private static final long serialVersionUID = 3308930794089668501L;

	public enum TwitterFeedInfoEnum{
		PROFIL_LOGO_URL("profilLogoUrl");
		
		private String key;
		
		private TwitterFeedInfoEnum(String key){
			this.key = key;
		}

		public String getKey() {
			return key;
		}
		
	}

	private String twitterLogin;
	
	public TwitterFeed(){
		super();
	}
	
	public TwitterFeed(String login, String title,
			String description) {
		super(FeedTypeEnum.TWITTER, FeedTypeEnum.TWITTER.getLogoUrl(), title, description, "http://twitter.com/"+login);
		this.twitterLogin = login;
	}
	
	public String getTwitterLogin() {
		return twitterLogin;
	}
	
	public void setTwitterLogin(String twitterLogin) {
		this.twitterLogin = twitterLogin;
	}
}
